//
//  DeckViewController.h
//  AnimatedFlashcards
//
//  Created by Timothy Costa on 10/4/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "Deck.h"
#import "Card.h"
#import "Results.h"

@class Deck;
@class Card;
@class Results;

@interface DeckViewController : NSObject
{
	IBOutlet NSArrayController *deck; 
	IBOutlet NSArrayController *deck_cards;
	IBOutlet NSTableView * decksTableView;
	IBOutlet NSTextView * fileDisplay;
	IBOutlet NSTextField * addSide1;
	IBOutlet NSTextField * addSide2;
	IBOutlet NSTextField * addHint;
	NSString * fileContents;
}

@property (assign) NSString * fileContents;
@property (assign) NSTextView * fileDisplay;

- (IBAction) addNewCardToSelectedDeck:(id)sender;
- (IBAction) removeSelectedCardFromSelectedDeck:(id)sender;
- (IBAction) importCardsFromFile:(id)sender;
- (IBAction) addNewCardUsingTextFields:(id)sender;
- (NSArray*) currentSelections;
@end
